package com.bauer.base.jvm.overloading;

/**
 * @Author ：rui.wei
 * @Date ：Created in 15:56 2019/2/14
 * @Description：
 */
public class Overloading {

    public void sayHello(Human human){
        System.out.println("human");
    }

    public void sayHello(Woman woman){
        System.out.println("woman");
    }

    public void sayHello(Man man){
        System.out.println("man");
    }

}
